<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>企业信息完善</title>
    <!-- <link rel="stylesheet" type="text/css" href="../css/api.css" /> -->
    <style>
        /*企业信息完善*/

        * {
            margin: 0;
            padding: 0;
        }

        a {
            text-decoration: none;
        }

        a:hover {
            text-decoration: none;
        }

        ul,
        li {
            list-style-type: none;
        }

        html,
        body {
            width: 100%;
            height: 100%;
            font-family: Arial;
            background-color: #fcfcfc;
            font-size: 18px
        }

        *,
        *:after,
        *:before {
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        #wrap {
            height: 100%;
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-orient: vertical;
            -webkit-flex-flow: column;
            flex-flow: column;
        }

        #main {
            -webkit-box-flex: 1;
            -webkit-flex: 1;
            flex: 1;
            padding: 20px;
            overflow-x: hidden;
            overflow-y: scroll;
        }

        #header {
            background-color: #fe6263;
        }

        .pcc_header {
            width: 100%;
            /*height: 2.2rem;*/
            display: flex;
        }

        .pcc_header .pcc_return {
            width: 4rem;
            height: 2.2rem;
            background: url("../image/retun-icon.png")no-repeat;
            background-size: 0.6rem;
            background-position: 0.7rem center;
        }

        .pcc_header .pcc_title {
            width: 12rem;
            height: 2.2rem;
            line-height: 2.2rem;
            color: #ffffff;
            text-align: center;
            font-size: 0.96rem;
        }

        .pcc-formCase .pcc-item {
            width: 100%;
            height: 2.5rem;
            background-color: #f8f8f8;
            border-radius: 5px;
            margin-top: 0.5rem;
            display: flex;
        }

        .pcc-formCase .pcc-item label {
            width: 38%;
            height: 2.5rem;
            line-height: 2.5rem;
            font-size: 0.7rem;
            text-indent: 0.5rem;
            color: #666666;
        }

        .pcc-formCase .pcc-item input {
            width: 85%;
            height: 2.5rem;
            border: 0;
            background: none;
            outline: none;
            font-size: 0.7rem;
            color: #666666;
        }

        .pcc-formCase .pcc-item select {
            width: 85%;
            height: 2.5rem;
            border: 0;
            background: none;
            outline: none;
            font-size: 0.7rem;
            color: #666666;
        }

        .pcc-formCase .pcc-item option {
            width: 85%;
            height: 2.5rem;
            border: 0;
            background: none;
            outline: none;
            font-size: 0.7rem;
            color: #666666;
        }

        .pcc-bntCase {
            width: 100%;
            text-align: center;
            padding-bottom: 0.8rem;
            margin-top: 4rem
        }

        .pcc-bntCase button {
            width: 60%;
            height: 3rem;
            color: #ffffff;
            border: 0;
            font-size: 18px;
            background-color: #fe6263;
            border-radius: 3px;
            box-shadow: #e7e7e7 0 3px 5px 0;
        }

        .pcc_qianmingcase {
            width: 100%;
            height: auto;
            margin-top: 0.5rem;
            font-size: 0.7rem;
            color: #666666;
        }
        .pcc_qianmingcase>p{

        }

        .pcc_qianming {
            width: 100%;
            height: auto;
            display: flex;
            /*justify-content: space-between;*/
        }
        .pcc_qianming>span {
            width: 100px;
            height: auto;
            margin-top: 6px;
        }
        #aaimg{
          width: 150px;
        }
    </style>
</head>

<body>
    <div id="wrap">
        <div id="header">
            <div class="pcc_header">
                <a class="pcc_return" href="#" onclick="closeappend();"></a>
                <p class="pcc_title">注册企业信息</p>
                <span style="width:4rem"></span>
            </div>
        </div>
        <div id="main">
            <div class="pcc-formCase">
                <div class="pcc-item">
                    <label>厂房面积(㎡)</label>
                    <input class="pcc-name" type="number" id='pcc_us_number' placeholder="请输入厂房面积" maxlength="16" />
                </div>
                <div class="pcc-item">
                    <label>安管员姓名</label>
                    <input class="pcc-name" type="text" id='pcc_us_number' placeholder="请输入姓名" maxlength="16" />
                </div>
                <div class="pcc-item">
                    <label>安管员电话</label>
                    <input class="pcc-name" type="text" id='pcc_us_number' placeholder="请输入手机号" maxlength="16" />
                </div>
                <!-- <div class="pcc-item">
                    <label>厂房类别</label>
                    <select name="cars">
                           <option value="工业">工业</option>
                           <option value="商贸">商贸</option>
                    </select>
                </div> -->
                <div class="pcc-item">
                    <label>厂房用途</label>
                    <select name="cars1">
                           <option value="工业">纺织</option>
                           <option value="商贸">五金</option>
                           <option value="商贸">机械</option>
                           <option value="商贸">印染</option>
                    </select>
                </div>
            </div>
            <div class="pcc_qianmingcase">
                <div class="pcc_qianming">
                  <span>安管员签名:</span>
                   <img id="aaimg" src="../image/qianming.png" onclick="openpage('signature');" alt="">
                </div>

            </div>
            <div class="pcc-bntCase">
                <button class="pcc-login" onclick="openpage('home');">提&nbsp;交</button>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    apiready = function() {
        var header = $api.byId('header');
        //适配iOS 7+，Android 4.4+状态栏
        $api.fixStatusBar(header);


        api.addEventListener({
            name: 'signature'
        }, function(ret, err) {
            var imgsrc = ret.value.key;
            var aaimg = $api.dom('#aaimg');
            $api.attr(aaimg, 'src', imgsrc);
        });


    };

    function openpage(url) {
        api.openWin({
            name: url,
            url: './' + url + '.html',
            pageParam: {
                name: 'test'
            }
        });
    };
    //关闭本窗口
    function closeappend() {
        api.closeWin();
    };
</script>

</html>
